// sku
import type {SpuData} from '@/api/product/spu/type'
interface ResponseData {
  code: number
  message: string
  ok: boolean
}

export interface SaveSku {
  category3Id: number | string
  spuId: number | string
  tmId: number | string
  skuName: string
  price: number | string
  weight: number | string
  skuDesc: string
  skuAttrValueList?: attrValue[]
  skuSaleAttrValueList?: saleAttrValue[]
  skuDefaultImg: string
}
export interface attrValue {
  attrId: number | string
  valueId: number | string
}
export interface saleAttrValue {
  saleAttrId: number | string
  saleAttrValueId: number | string
}

export interface SkuList extends ResponseData {
  data: SpuData[]
}